package behavior.Iterator;

/**
 *
 */
import java.io.*;
import java.net.URL;
import java.util.*;

public class Test {
	public static void main(String[] args) {
		String fileName = System.getProperty("user.dir")
				+ "/src/Iterator/src/data.txt";
		// System.out.println(fileName);
		DataVector dataVector = new DataVector(fileName);
		Iterator iVector = dataVector.CreateIterator();
		for (iVector.First(); !iVector.IsDone(); iVector.Next()) {
			iVector.CurrentItem();
		}
	}
}